package com.yangfan.cloudalibaba;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 使用  阿里巴巴的 Nacos 注册中心  配合 Openfeign 来实现 负载均衡的 远程端口调用
 *
 * Nacos 自带 ribbon 所以直接能负载均衡
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class NacosOrderMain80 {
    public static void main(String[] args) {
        SpringApplication.run(NacosOrderMain80.class,args);
    }
}
